package main

func main() {
	var i int  = 2

	println(&i)
	println(*&i)
	println(i)

	if i==1 {
		println("one")
	} else if i==2 {
		println("two")
	} else {
		println("unknow")
	}

	switch i {
	case 0, 1:
		println(" zro,one")
	case 2, 3, 4:
		println(" in (2-4)")
	default:
		println("unkown")
	}

	println(i)

	var sum = 0
	for j:=0;j<10;j++ {
		sum += j
	}
	println("sum=",sum)
	for {
		sum ++
		if sum>100{
			break
		}
	}

	

	println("sum=",sum)
	myfunc()

}

func myfunc()  {
	var i int = 0
	HELE:
	println(i)
	i++
	if i<10 {
		goto HELE
	}
}
